<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

	<p:panel rendered="#{parametroBean.CRUDRendered}" id="painel">
		<f:facet name="header">
			<h:outputText value="#{label.parametro_manutencao}" />
		</f:facet>

		<h:panelGrid columns="2">
			<h:outputText value="#{label.parametro_id}" />
			<p:inputText value="#{parametroBean.registroSelecionado.idParametro}" disabled="true" />

			<h:outputText value="#{label.parametro_key}" />
			<p:inputText value="#{parametroBean.registroSelecionado.key}" />

			<h:outputText value="#{label.parametro_value}" />
			<p:inputText value="#{parametroBean.registroSelecionado.valor}" />

			<h:outputText value="#{label.abstract_persistence_ativo}" />
			<p:selectBooleanCheckbox value="#{parametroBean.registroSelecionado.ativo}" />
		</h:panelGrid>

		<h:panelGroup rendered="#{CRUDSession.grupoPersistenciaRendered}">
			<p:commandButton value="#{label.salvar}" process="painel" actionListener="#{CRUDSession.crudEmExibicao.salvarActionEvent}" update="@form" />
			<p:commandButton value="#{label.voltar}" process="@this" immediate="true" actionListener="#{CRUDSession.crudEmExibicao.acessarPaginaListagem}" update="@form" />
		</h:panelGroup>

	</p:panel>
</ui:composition>
